<div class="main_body">
    <?php echo $this->element('main_menu')?>		
	<div id="main_body_content">
	
		<div class="typeOfWorks form">
		<?php echo $this->Form->create('TypeOfWork');?>
			<fieldset>
		 		<legend><?php __("Edit Type Of Work"); ?></legend>
			<?php
				echo $this->Form->input('id');
				echo $this->Form->input('name');
			?>
			</fieldset>
		<?php echo $this->Form->end(__("Submit", true));?>
		</div>
		
		<div class="clr"></div>	
	</div>			
	<?php echo $this->element('languages')?>	
	<div class="clr"></div>
</div>	
<div class="clr"></div>	
<div class="main_action">
	<div class="main_action_content">
			
		<div class="actions">
			<h3><?php __("Actions"); ?></h3>
			<ul>
		
				<li><?php echo $this->Html->link($html->image(HOST.'/actions_works_delete.png'), array('action' => 'delete', $this->Form->value('TypeOfWork.id')), array('title'=>__("Delete", true),'escape'=>false), sprintf(__("Are you sure you want to delete # %s?", true), $this->Form->value('TypeOfWork.id'))); ?><div class="clr"></div><?php echo __('Delete', true)?></li>
				<li><?php echo $this->Html->link($html->image(HOST.'/actions_works_list.png'), array('action' => 'index'),array('title'=>__("List Type Of Works", true),'escape'=>false));?><div class="clr"></div><?php echo __("List Type Of Works", true)?></li>
			</ul>
		</div>
		
		<div class="clr"></div>
	</div>		
</div>				